package com.cyq.day15.Demo1;

public class Human {
    String name;
    int age;

    public Human() {
    }

    public Human(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void showinfo(){
        System.out.println("名字是"+this.name+"年龄为"+this.age);
    }
}
